// 检测台账

import request from '@/utils/request'

// 检测台账
export function getInspection(params) {
  return request({
    url: '/report/report.do?action=list&relationBillAreaCode=440000',
    method: 'post',
    params
  })
}

// 作废
export function deleteInspection(id) {
  return request({
    url: `/report/report.do?action=transform&dataSource=fastCheckProduct&id=${id}&actionId=2304101900535860000`,
    method: 'post',
  })
}

// 检测详情
export function getInspectionDetail(id) {
  return request({
    url: `/report/report.do?action=get&id=${id}&buildControls=REPORT_DETAIL_BUILD_FAST_CHECK_PRODUCT`,
    method: 'post',
  })
}
